package com.cskaoyan.wx.service;

import com.cskaoyan.bean.OrderGoods;
import com.cskaoyan.bo.WxOrderCommentBo;
import com.cskaoyan.wx.bean.bo.WxOrderSubmitBo;
import com.cskaoyan.wx.bean.vo.DetailVo;
import com.cskaoyan.wx.bean.vo.WxOrderSubmitVo;
import com.cskaoyan.wx.bean.vo.index.ListShowTypeVo;



/**
 * @description:
 * @author: libugu@cskaoyan.com
 * @date 2021/4/12 - 17:10
 */
public interface WxOrderService {

    int comment(WxOrderCommentBo wxOrderCommentBo);

    void cancel(Integer orderId);

    void delete(Integer orderId);

    DetailVo detail(Integer orderId);

    ListShowTypeVo list(Integer showType, Integer page, Integer size);

    void refund(Integer orderId);

    void confirm(Integer orderId);

    OrderGoods goods(Integer orderId, Integer goodsId);

    WxOrderSubmitVo submit(WxOrderSubmitBo wxOrderSubmitBo, String username);

    int prepay(Integer orderId);
}
